package com.wx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//标识该项目是SpringBoot项目
//启动时自动加载配置(tomcat服务器)
//主启动类所在的位置就是包扫描的路径
@MapperScan("com.wx.mapper")	//程序会自动为mybatis创建代理对象
public class EgwxApplication {

	public static void main(String[] args) {
		SpringApplication.run(EgwxApplication.class, args);
	}

}
